<template>
  <div class="formButton">
      <el-button @click="onSearch" size="small" type="primary">{{data.displayName}}</el-button>
  </div>
</template>
<script lang="ts">
 
import { Component, Vue,Prop} from 'vue-property-decorator';
@Component({
  components: {
  },
})
export default class FormButton extends Vue {
      @Prop() private data!: any;
      @Prop() private onSearch:any;
      private options:any={};
      private value:any="";
      async created(){
         
      }
}
</script>
<style lang="less">
    .formButton{
       margin-left: 10px;
    }
</style>
